import request from "@/utils/request";

export function getListApi(data) {
  return request({
    url: "/api/product.customer/index",
    method: "post",
    data
  });
}

export function readCustomerCfgApi(data) {
    return request({
      url: "/api/product.customer/read",
      method: "post",
      data
    });
  }

export function createCustomerCfgApi(data) {
  return request({
    url: "/api/product.customer/create",
    method: "post",
    data
  });
}

export function editCustomerCfgApi(data) {
  return request({
    url: "/api/product.customer/save",
    method: "post",
    data
  });
}

export function deleteCustomerCfgApi(data) {
    return request({
      url: "/api/product.customer/delete",
      method: "post",
      data
    });
}
